package com.sfdk.admin.data.resourceEditor
{
    import flash.events.EventDispatcher;

    import mx.collections.ArrayCollection;

    [Bindable]
    public class ResourceCategory extends EventDispatcher
    {
        private var _categoryName : String;

        private var _categoryDescription : String;

        private var _categoryPercent : int;

        private var _subCategories : ArrayCollection;

        public function ResourceCategory() {
            _subCategories = new ArrayCollection();
        }

        public function get categoryName():String {
            return _categoryName;
        }

        public function set categoryName(value:String):void {
            _categoryName = value;
        }

        public function get categoryDescription():String {
            return _categoryDescription;
        }

        public function set categoryDescription(value:String):void {
            _categoryDescription = value;
        }

        public function get categoryPercent():int {
            return _categoryPercent;
        }

        public function set categoryPercent(value:int):void {
            _categoryPercent = value;
        }

        public function get subCategories():ArrayCollection {
            return _subCategories;
        }

        public function set subCategories(value:ArrayCollection):void {
            _subCategories = value;
        }
    }
}
